(function () {
    function setRem() {
        var baseSize = 16; // 默认 16px
        var designWidth = 375; // 设计稿宽度
        var width = document.documentElement.clientWidth;
        document.documentElement.style.fontSize = (width / designWidth) * baseSize + "px";
    }
    setRem();
    window.addEventListener("resize", setRem);
})();
